<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'add_plan.jsp' starting page</title>
    <link href="lzm/css/base.css" rel="stylesheet" type="text/css" />
    <link href="lzm/css/tab.css" rel="stylesheet" type="text/css" />
    <link href="lzm/css/save_plan.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="lzm/js/find_plan_basis.js"></script>
    <script type="text/javascript" src="lzm/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="lzm/js/ajaxUtils.js"></script>
    <script type="text/javascript" src="lzm/js/edit_plan_no_report.js"></script>
    <script type="text/javascript" src="lzm/js/find_and_edit_step_content.js"></script>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="lzm/images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="lzm/images/tab_05.gif">&nbsp;</td>
        <td width="281" background="lzm/images/tab_05.gif">&nbsp;</td>
        <td width="14"><img src="lzm/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="9" background="lzm/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#dceffd"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#84b1d3">
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF"><span class="spgood">预案名称：</span>
															<input type="text" id="PName" style="width: 360px" /></td>
            </tr>
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF"><span class="spgood">预案类型：</span>
															<select name="plan_type" id="planType">
															</select></td>
          </tr>
          <tr>
            <td height="38" bgcolor="#FFFFFF"><span class="spgood">预案等级：</span>
															<select name="planRate" id="planGrade">
															</select></td>
            <td bgcolor="#FFFFFF"><span class="spgood">事件类型：</span>
															<select name="planRate" id="eventType">
															</select></td>
          </tr>
          <tr>
            <td height="38" bgcolor="#FFFFFF"><span class="spgood">适用范围：</span>
															<select name="planRate2" id="planScope">
															</select></td>
            <td bgcolor="#FFFFFF"><span class="spgood">适用区域：</span>
															<select name="planRate3" id="planRegion">
															</select></td>
          </tr>
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF"><div style="height:10px"></div>
															<span class="spgood">摘要：</span>															
															<div style="width: 100%">
															<div style="height:10px"></div>
																<textarea name="textarea" id="PSummary"
																	style="width: 100%" rows="5">
					  											</textarea>
															</div></td>
            </tr>
          <tr>
            <td height="38" bgcolor="#FFFFFF"><span class="spgood">编制单位：</span>
															<input type="text" id="PUnit" style="width: 200px" /></td>
            <td height="38" bgcolor="#FFFFFF"><span class="spgood">承办人：</span>
															<input type="text" id="PContractor" style="width: 200px" /></td>
          </tr>
          <tr>
            <td height="38" bgcolor="#FFFFFF"><span class="spgood">编制时间：</span>
															<input type="text" id="PTime" style="width: 200px" /></td>
            <td height="38" bgcolor="#FFFFFF"><label>
																<span class="spgood">版本：</span>
																<input type="text" id="PVersion" style="width: 200px" />
																<br />
															</label></td>
          </tr>
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF"><span class="spgood">上传附件：</span>
															<input type="file" name="fileField" id="fileField" />
															&nbsp;
															<input type="button" onclick="upload()" name="button4"
																id="button4" value="上传"
																style="width: 50px; height: 20px" />
															<span id="uploadSpan"
																style="display: none; color: #963; font-size: 16px; margin-left: 20px;"><img
																	src="../watch/lzm/images/loading3.gif">文件上传中，请稍后......</span>
															<span id="uploadSucc"
																style="display: none; color: #963; font-size: 16px; margin-left: 20px;">文件上传成功！</span>
															<span
																style="width: 100%; margin: 0 auto; text-align: center; display: none"
																id="keywordIng"> <img
																	src="../watch/lzm/images/loading00.gif" /> <span
																style="font-size: 16px; color: #633; margin-left: 0px">正在提取关键字</span>
															</span></td>
          </tr>
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF">
            	<div style="height:10px"></div>
															<span class="spgood">关键字：</span>															
															<div style="width: 100%">
															<div style="height:10px"></div>
																<textarea name="textarea" id="PSummary"
																	style="width: 100%" rows="5">中毒，药害事件，药械安全</textarea>
															</div>            
            </td>
          </tr>
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF">预案环节与内容</td>
          </tr>
          <tr>
          	<td bgcolor="#FFFFFF" colspan="2">
          		<table style="width: 100%" border="1px">
          			<tr>
          				<td id="pcContainer">
          				</td>
          			</tr>
          		</table>
          	</td>
          </tr>
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF" style="text-align:center;">
            <!-- 
            <img alt="" class="regjpg" style="cursor: pointer;"
				src="lzm/images/finish.png" id="add_plan" />
			 -->
			 <input type="button" name="preReport" id="edit_plan" value="完成编辑" class="myBtn" onclick="operateSucc('find_plan_no_report.jsp');" />
			</td>
          </tr>
        </table></td>
        <td width="9" background="lzm/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="lzm/images/tab_20.gif" width="15" height="29" /></td>
        <td background="lzm/images/tab_21.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="25%" height="29" nowrap="nowrap">&nbsp;</td>
            </tr>
        </table></td>
        <td width="14"><img src="lzm/images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>

<div style="border:1px solid blue;margin-bottom:5px;display:none" class="model">
<div style="text-align: right;"><button class="addFollowStep">追加新环节</button><button class="deleteCurStep">删除该环节</button></div>
     <div style="margin-bottom: 20px;">环节名称:
          <input type="text" class="stepName" style="width: 80%; margin-left:15px"/>
          
     </div>
          	<div style="margin-left: 100px;" class="contentContainer">
      		</div>
      		<div style="text-align: right;"><button class="addNewContent">增加新内容</button></div>
 </div>
<div style="margin-bottom: 20px;display:none" class="contentModel">内容类型：
    <span>
      <select class="contentType">
       <!-- <option>请选择</option> -->
      </select>
       </span>
     <div style="margin-bottom: 20px; margin-top:20px">预案内容:
     <span style="text-align: right"><button class="deleteContent">删除该内容</button></span>
          <textarea rows="5" style="width:100%" class="psContent"></textarea>
     </div>
     
</div>
  </body>
</html>
